import http from "../http";



function uploadFile( params: any = {}) {
    return http.myRequest({
        url: '/file/uploadFile',
        method: 'post',
        data: params,
    })
}

function removeByPath( params: any = {}) {
    return http.myRequest({
        url: '/file/removeByPath',
        method: 'post',
        data: params,
        header:{
            'Content-Type': 'application/x-www-form-urlencoded'
        }
    })
}



export default {
    uploadFile,
    removeByPath


}

